package com.example.mqttdemo.constant;

/**
 * 命令类型常量类，用于定义各种命令类型。
 */
public class CommandTypes {
    // 基础控制
    public static final String POWER_ON = "POWER_ON"; // 设备开机
    public static final String POWER_OFF = "POWER_OFF"; // 设备关机
    public static final String REBOOT = "DEVICE_REBOOT"; // 设备重启
    public static final String RESET = "FACTORY_RESET"; // 设备恢复出厂设置

    // LED相关
    public static final String LED_CONTROL = "LED_CONTROL"; // LED控制
    public static final String LED_BRIGHTNESS = "LED_BRIGHTNESS"; // LED亮度控制
    public static final String LED_COLOR = "LED_COLOR"; // LED颜色控制

    // 传感器相关
    public static final String SENSOR_CALIBRATION = "SENSOR_CALIBRATION"; // 传感器校准
    public static final String REPORT_INTERVAL = "REPORT_INTERVAL"; // 传感器数据上报间隔

    // 系统管理
    public static final String CONFIG_UPDATE = "CONFIG_UPDATE"; // 配置更新
    public static final String FIRMWARE_UPGRADE = "FIRMWARE_UPGRADE"; // 固件升级
    public static final String TIME_SYNC = "TIME_SYNC"; // 时间同步

    // 数据查询
    public static final String STATUS_QUERY = "STATUS_QUERY"; // 状态查询
    public static final String DATA_QUERY = "DATA_QUERY"; // 数据查询
}
